package com.jxd.project.wzgl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxd.project.menu.model.Log;

import java.util.List;

/**
 * @ClassName ILogDao
 * @Description TODO
 * @Author 刘成
 * @Date 2025/10/1 16:30
 * @Version 1.0
 */
public interface ILogDao extends BaseMapper<Log> {
    /**
     * 根据申请ID删除日志
     * @param applicationId
     * @return
     */
    boolean delWithApplicationId(int applicationId);

    /**
     * 根据多个申请ID删除日志
     * @param applicationIds
     * @return
     */
    boolean delWithApplicationIds(List<Integer> applicationIds);

    /**
     * 根据申请ID查询日志
     * @param applicationId
     * @return
     */
    List<Log> selectLogWithApplicationId(int applicationId);
}
